.Avatar {
  background-color: $duxuiAvatarBgColor;
  overflow: hidden;
  align-items: center;
  justify-content: center;

  &--s {
    width: $duxuiAvatarSSize;
    height: $duxuiAvatarSSize;
  }
  &--m {
    width: $duxuiAvatarMSize;
    height: $duxuiAvatarMSize;
  }
  &--l {
    width: $duxuiAvatarLSize;
    height: $duxuiAvatarLSize;
  }

  &--round {
    border-radius: 120px;
  }

  &--round-min {
    border-radius: 6px;
  }

  &--text-color {
    color: $duxuiAvatarColor;
  }

  &__image {
    width: 100%;
    height: 100%;
  }

  &__text {
    text-align: center;
    &--s {
      font-size: 20px;
    }
    &--m {
      font-size: 28px;
    }
    &--l {
      font-size: 36px;
    }
  }
}
.AvatarGroup {
  &--s {
    height: $duxuiAvatarSSize;
  }
  &--m {
    height: $duxuiAvatarMSize;
  }
  &--l {
    height: $duxuiAvatarLSize;
  }
  &__avatar {
    position: absolute;
    top: 0;
    border-width: 1px;
    border-color: $duxappLineColor;
  }
}
